const common = require('./webpack.common');

const {merge} = require('webpack-merge');

module.exports = merge(common,{
    mode:'development',
    devServer:{
        open:true,
        proxy:{
            '/api':{
                target:'http://loaclhost:8080',
                pathRewrite:{
                    '/api':''
                },
                changeOrigin:true
            }
        }
    },
})